home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #5 & #6
/
Amiga Plus CD - 1995 - No. 5 and 6.iso
/
pd
/
serien
/
purity
/
nr.46
/
stinglibpcq
/
source
/
delete.p
< prev
next >
Wrap
Text File
|
1995-03-27
|
330b
|
21 lines
external;
{$I "include:utils/stringlib.i"}
function Str_Delete(s : string;dep,long : integer) : string;
var
s1 : string;
c : integer;
begin
s1 := allocstring(strlen(s)+1-long);
dep := dep-1;
for c := 0 to (dep-1) do
s1[c] := s[c];
for c := (dep+long) to (strlen(s)-1) do
s1[c-long] := s[c];
Str_Delete := s1;
end;